package com.functionx.consumer;

import com.functionx.contract.IProvider;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author chenxiao
 * @date 2019/2/25 17:24
 */
@Service
public class SampleService {

    @Resource
    private IProvider provider;

    public String work(){
        return provider.deal();
    }
}
